package com.buss.util;

import java.util.ResourceBundle;

public interface Constant {

	public static final ResourceBundle application = ResourceBundle.getBundle("application");
	public static final String location = application.getString("location");
	public static final String repo = application.getString("location.http.repo");

	public static final String CHARSET="UTF-8";

	public static final int SUCCESS_STATUS=0;//成功
	public static final int FAIL_STATUS=1;//失败
	public static final String SIGN_TIME_OUT_MSG="请求超时";
	public static final String SIGN_VALIDATE_ERROR_MSG="验签未通过";
	public static final String CREATE_SIGN_ERROR_MSG="创建签名错误";
	public static final String TOKEN_NOT_FIND_ERROR_MSG="会话过期，请重新登录！";
	public static final String COMMON_RETURN_NODE_CODE="RTNCODE";
	public static final String COMMON_RETURN_SUCCSS_CODE="00000";
	public static final String COMMON_RETURN_FAIL_CODE="-1";
	public static final String COMMON_RETURN_NODE_MSG="RTNMSG";

	public static final String COMMON_RETURN_KEY_APP="return";
	/* return在IE是关键字，应金芳的要求改为第一个字母大写 */
	public static final String COMMON_RETURN_KEY="Return";
	public static final String CORE_RETURN_FAIL_CODE="-1";


	public static final String CAPTCHA_ERROR_MSG="验证码不正确！";
	public static final String LOGIN_ERROR_MSG="用户名和密码不能为空！";
	public static final String PARAM_NOT_FIND_ERROR_MSG="参数不能为空！";
	public static final String JSON_NOT_FIND_ERROR_MSG="JSONVALUE参数不能为空！";
	public static final String API_FAIL_MSG="API服务异常，原因是返回的消息为空";
	public static final String API_FAIL_NOJSON_MSG="API服务异常，原因是返回的消息不能转为JSON";

}
